code: def find_and_modify(self, query=None, update=None):
          
          update = update or {}
  
          for document in self.find(query=query):
              document.update(update)
              self.update(document)
docs: Finds documents in this collection that match a given query and updates them