def update(self, dictionary=None, **kwargs):
if not dictionary == None: kwargs.update(dictionary)<EOL>for k in list(kwargs.keys()): self[k] = kwargs[k]<EOL>
Adds/overwrites all the keys and values from the dictionary.