docstr: triggered at the UPDATE query
  
  Args:
      query (ast.Update): user's entered query
docstr_tok: ["triggered","at","the","UPDATE","query","Args",":","query","(","ast.Update",")",":","user","'s","entered","query"]
code: def update(self, query: ast.Update) -> None:
      """triggered at the UPDATE query
  
      Args:
          query (ast.Update): user's entered query
      """
      conditions = extract_comparison_conditions(query.where)
      # Get id from query
      for op, arg1, arg2 in conditions:
          if arg1 == "id" and op == "=":
              _id = arg2
          else:
              raise NotImplementedError
      data = {"data": {}}
      for key, value in query.update_columns.items():
          if isinstance(value, Constant):
              data["data"][key] = value.value
      self.handler.call_strapi_api(
          method="PUT",
          endpoint=f"/api/{self.name}/{_id}",
          json_data=json.dumps(data),
      )
  
file_path: mindsdb/mindsdb/integrations/handlers/strapi_handler/strapi_tables.py
imports: from typing import List
  import pandas
  from mindsdb.integrations.libs.api_handler import APIHandler, APITable
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb_sql.parser.ast.select.constant import Constant
  import json
label_desc: Use image node_id 4 for calling the StrapiTable obj's underlying member method code with example usage: obj.update(query) without return types