python update multiple dictionary values