code: def update(self, _values=None, **values):
          
          if _values is not None:
              values.update(_values)
  
          return self._query.update(self._add_updated_at_column(values))
docs: Update a record in the database
  
          :param values: The values of the update
          :type values: dict
  
          :return: The number of records affected
          :rtype: int