code: public DocumentT findOneAndUpdate(final Bson filter, final Bson update) {
      return proxy.findOneAndUpdate(filter, update);
    }
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