code: def update(self, data=None, **kwargs):
          
          if data is None:
              data = {}
          data.update(kwargs)
          return self.model.write([self.id], data)
docs: Update the record right away.
  
          :param data: dictionary of changes
          :param kwargs: possibly a list of keyword args to change