code: def dict_update(d, k, val, d_ref=None):
      d_ref = d if not d_ref else d
      path = dict_path(d_ref)
      if path:
          reduce(dict.get, path[k], d).update({k: val})
      else:
          d.update(k=val)
      return d
  
imports: import pickle
  import six
  import copy
label_desc: Use image node_id 9 for calling a global function with example usage: dict_update(d, k, val, d_ref) and returns: d