code: def test_put_chatbot_update(client, test_db):
      chatbot_data = {
          "chatbot": {
              "name": "test_put_chatbot_update",
              "model_name": "test_model",
              "database_id": test_db["id"],
              "is_running": True,
              "params": {"param1": "value1"},
          }
      }
      response = client.put(
          "/api/projects/mindsdb/chatbots/test_put_chatbot_update",
          json=chatbot_data,
          follow_redirects=True,
      )
      assert "201" in response.status
  
      updated_chatbot_data = {
          "chatbot": {"params": {"new_param": "new_value"}}
      }
      response = client.put(
          "/api/projects/mindsdb/chatbots/test_put_chatbot_update",
          json=updated_chatbot_data,
          follow_redirects=True,
      )
      assert "200" in response.status
      updated_chatbot = response.get_json()
  
      expected_chatbot = {
          "name": "test_put_chatbot_update",
          "model_name": "test_model",
          "agent_id": updated_chatbot["agent_id"],
          "database_id": test_db["id"],
          "params": {"param1": "value1", "new_param": "new_value"},
          "created_at": updated_chatbot["created_at"],
          "id": updated_chatbot["id"],
          "project_id": updated_chatbot["project_id"],
      }
      assert updated_chatbot == expected_chatbot
  
imports: import os
  import pytest
  from tempfile import TemporaryDirectory
  from mindsdb.api.http.initialize import initialize_app
  from mindsdb.migrations import migrate
  from mindsdb.interfaces.storage import db
  from mindsdb.utilities.config import Config
label_desc: Use image node_id 17 for calling a global function with example usage: test_put_chatbot_update(client, test_db) without return types