code: def deepupdate(original, update):
      
      for key, value in original.items():
          if key not in update:
              update[key] = value
          elif isinstance(value, dict):
              deepupdate(value, update[key])
      return update
docs: Recursively update a dict.
  
      Subdict's won't be overwritten but also updated.