code: public DocumentT findOneAndUpdate(final Bson filter, final Bson update) {
      return operations.findOneAndModify(
              "findOneAndUpdate",
              filter,
              update,
              new RemoteFindOneAndModifyOptions(),
              documentClass).execute(service);
    }
docs: Finds a document in the collection and performs the given update.
  
  @param filter the query filter
  @param update the update document
  @return the resulting document