code: def update_progress(result):
      result["last_update"] = time.time()
      safe_write_to_results_json(result)
  
imports: import time
  import ray
  from ray.cluster_utils import Cluster
  from ray._private.test_utils import get_other_nodes, safe_write_to_results_json
label_desc: Use image node_id 1 for calling a global function with example usage: update_progress(result) without return types