code: def up(db, dataset_name):
      match_d = {"name": dataset_name}
      dataset_dict = db.datasets.find_one(match_d)
      for field in dataset_dict["sample_fields"]:
          if field["name"] == "media_type":
              field["name"] = "_media_type"
  
      db.datasets.replace_one(match_d, dataset_dict)
      sample_coll = db[dataset_dict["sample_collection_name"]]
      sample_coll.update_many(
          {}, {"$rename": {"media_type": "_media_type"}}
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: up(db, dataset_name) without return types