code: def dict_replace_keyword(d, keyword, kwargs, forceupdate=True):
      d = d.copy()
      for _k, _v in list(kwargs.items()):
          if keyword in _k:
              k = _k.replace(keyword, "")
              if keyword not in d:
                  d[keyword] = {k: _v}
              else:
                  if forceupdate:
                      d[keyword].update({k: _v})
                  else:
                      if k not in d[keyword]:
                          d[keyword].update({k: _v})
          else:
              if forceupdate:
                  d[_k] = _v
              else:
                  if _k not in d:
                      d[_k] = _v
  
      return d
  
imports: import pickle
  import six
  import copy
label_desc: Use image node_id 14 for calling a global function with example usage: dict_replace_keyword(d, keyword, kwargs, forceupdate) and returns: d