[python] How to update the value of a key in a dictionary in Python?