code: def update(self, other=None, **kwargs):
      if other is not None:
          if hasattr(other, "items"):
              other = other.items()
          for key, value in other:
              if key in kwargs:
                  raise TensorforceError.value(
                      name="NestedDict.update",
                      argument="key",
                      value=key,
                      condition="specified twice",
                  )
              self[key] = value
      for key, value in kwargs.items():
          self[key] = value
  
imports: from collections import OrderedDict
  from tensorforce import TensorforceError
label_desc: Use image node_id 21 for calling the NestedDict obj's underlying member method code with example usage: obj.update(other) without return types