public final FluentFuture<Optional<T>> update() {
      options.sort(convertToBson(ordering));
      return repository.doReplace(criteria, document, options);
    }
Configures this modifier so that new (updated) version of document will be returned in
case of successful update.
@see #returningOld()
@return {@code this} modifier for chained invocation
mongo/src/org/immutables/mongo/repository/Repositories.java