code: def update_one(self, update):
          
          self.__bulk.add_update(self.__selector,
                                 update, multi=False, upsert=True,
                                 collation=self.__collation)
docs: Update one document matching the selector.
  
          :Parameters:
            - `update` (dict): the update operations to apply