code: def update(self, filter_, document, multi=False, **kwargs):
          
          self._valide_update_document(document)
          if multi:
              return self.__collect.update_many(filter_, document, **kwargs)
          else:
              return self.__collect.update_one(filter_, document, **kwargs)
docs: update method