def update(self, item, **kwargs):
if isinstance(item, dict):<EOL><INDENT>self._dict.update(item)<EOL><DEDENT>elif isinstance(item, Message):<EOL><INDENT>for key, val in item.items():<EOL><INDENT>self._dict[key] = val<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>" % (item,))<EOL><DEDENT>
Update the information in this instance.

:param item: a dictionary or a Message instance