try {
                Trace("Updating the role with ID '{RoleId}' in", role.Id);

                var options = new ReplaceOptions { IsUpsert = false };
                var result = await Collection.ReplaceOneAsync(IdFilter(role.Id), role, options, cancellationToken);