code: def update(self, data: dict):
      config_path = Path(self.config_path)
      if config_path.is_file() is False:
          config_path.write_text("{}")
  
      with open(self.config_path, "r") as fp:
          config_data = json.load(fp)
  
      config_data = _merge_configs(config_data, data)
  
      with open(self.config_path, "wt") as fp:
          fp.write(json.dumps(config_data, indent=4))
  
      self.init_config()
  
file_path: mindsdb/mindsdb/utilities/config.py
imports: import os
  import json
  from copy import deepcopy
  from pathlib import Path
  from mindsdb.utilities.fs import create_directory, get_or_create_data_dir
label_desc: Use image node_id 6 for calling the Config obj's underlying member method code with example usage: obj.update(data) without return types