code: def update(self,record,**kw):
          
          vals = self._make_sql_params(kw)
          sql = "UPDATE %s SET %s WHERE rowid=?" %(self.name,
              ",".join(vals))
          self.cursor.execute(sql,kw.values()+[record['__id__']])
docs: Update the record with new keys and values