Eric V. Smith added the comment:
I'm sorry the name is confusing to you, but this behavior is correct, and how
dict.update is defined:
https://docs.python.org/3.6/library/stdtypes.html#dict.update
As such, it cannot be changed.
If you want a function that merges values, you'll need to write
New submission from Avnish Midha :
The dict does not seem to work as one would expect a dictionary or a hashtable
to work.
dict.update(otherdict) just replaces the entries as per otherdict, removing
items which were extra in dict too and just keeping items as per new data in
otherdict only.