python update key value in nested dictionary