code: def _updateall(self, query, vars, returning=False):
          
          cursor = self.get_db().cursor()
          self._log(cursor, query, vars)
          cursor.execute(query, vars)
          self.get_db().commit()
          return cursor.fetchall() if returning else None
docs: Update, with optional return.