update key values in dictionary python