code: def update_experiment_profile(args, key, value):
      '''call restful server to update experiment profile'''
      nni_config = Config(get_config_filename(args))
      rest_port = nni_config.get_config('restServerPort')
      running, _ = check_rest_server_quick(rest_port)
      if running:
          response = rest_get(experiment_url(rest_port), REST_TIME_OUT)
          if response and check_response(response):
              experiment_profile = json.loads(response.text)
              experiment_profile['params'][key] = value
              response = rest_put(experiment_url(rest_port)+get_query_type(key), json.dumps(experiment_profile), REST_TIME_OUT)
              if response and check_response(response):
                  return response
      else:
          print_error('Restful server is not running...')
      return Nonf update_experiment_profile(args, key, value):
      '''call restful server to update experiment profile'''
      nni_config = Config(get_config_filename(args))
      rest_port = nni_config.get_config('restServerPort')
      running, _ = check_rest_server_quick(rest_port)
      if running:
          response = rest_get(experiment_url(rest_port), REST_TIME_OUT)
          if response and check_response(response):
              experiment_profile = json.loads(response.text)
              experiment_profile['params'][key] = value
              response = rest_put(experiment_url(rest_port)+get_query_type(key), json.dumps(experiment_profile), REST_TIME_OUT)
              if response and check_response(response):
                  return response
      else:
          print_error('Restful server is not running...')
      return None
docs: call restful server to update experiment profile