code: def update_dropout(experiment_config):
      metadata = experiment_config["metadata"]
      user_script = metadata.get("user_script", "")
      user_args = metadata.get("user_args", [])
      try:
          index = user_args.index("--dropout")
      except ValueError:
          print(
              f"No dropout for {experiment_config['metadata']}-v{experiment_config['version']}"
          )
          return
  
      user_args[index + 1] = (
          user_args[index + 1]
          .replace("5,", "0.5,")
          .replace(", discrete=True", ", precision=1")
      )
      cmdline_parser = OrionCmdlineParser(allow_non_existing_files=True)
      cmdline_parser.parse([user_script] + user_args)
      metadata["parser"] = cmdline_parser.get_state_dict()
      experiment_config["space"] = metadata["priors"] = dict(
          cmdline_parser.priors
      )
  
      # Update config in db
      storage.update_experiment(
          uid=experiment_config["_id"], **experiment_config
      )
  
      # Update all trials in db (arf)
      n_trials_before = len(
          storage.fetch_trials(uid=experiment_config["_id"])
      )
      for trial in storage.fetch_trials(uid=experiment_config["_id"]):
          previous_id = trial.id
          for param in trial._params:
              if param.name == "/dropout":
                  param.value /= 10
                  assert 0 <= param.value <= 0.5, param.value
  
          storage.delete_trials(
              uid=experiment_config["_id"], where=dict(_id=previous_id)
          )
          storage.register_trial(trial)
  
      trials = storage.fetch_trials(uid=experiment_config["_id"])
      assert len(trials) == n_trials_before, len(trials)
      for trial in trials:
          assert 0 <= trial.params["/dropout"] <= 0.5, trial
  
label_desc: Use image node_id 1 for calling a global function with example usage: update_dropout(experiment_config) without return types