code: public QueryResult<BulkWriteResult> update(List<? extends Bson> queries, List<? extends Bson> updates, QueryOptions options) {
          long start = startQuery();
  
          boolean upsert = false;
          boolean multi = false;
          boolean replace = false;
          if (options != null) {
              upsert = options.getBoolean(UPSERT);
              multi = options.getBoolean(MULTI);
              replace = options.getBoolean(REPLACE);
          }
  
          com.mongodb.bulk.BulkWriteResult wr;
          if (replace) {
              wr = mongoDBNativeQuery.replace(queries, updates, upsert);
          } else {
              wr = mongoDBNativeQuery.update(queries, updates, upsert, multi);
          }
          return endQuery(Collections.singletonList(wr), start);
      }
docs: Bulk update