Codes For Python Update Dictionary Value