code: def up(db, dataset_name):
      match_d = {"name": dataset_name}
      dataset_dict = db.datasets.find_one(match_d)
  
      evaluations = dataset_dict.get("evaluations", {})
      for eval_doc in evaluations.values():
          eval_doc["key"] = eval_doc.pop("eval_key")
          eval_doc["timestamp"] = None
          eval_doc["config"]["pred_field"] = eval_doc.pop("pred_field")
          eval_doc["config"]["gt_field"] = eval_doc.pop("gt_field")
  
      dataset_dict["evaluations"] = evaluations
  
      if "brain_methods" not in dataset_dict:
          dataset_dict["brain_methods"] = {}
  
      db.datasets.replace_one(match_d, dataset_dict)
  
label_desc: Use image node_id 1 for calling a global function with example usage: up(db, dataset_name) without return types