code: def update_output(n_clicks):
      triggered = json.loads(ctx.triggered[0]["prop_id"].split(".")[0])
      return json.dumps(
          dict(triggered=triggered, value=n_clicks[triggered["index"]])
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: update_output(n_clicks) and returns: json