python update nested dictionary with another dictionary