Update Function Python Dictionary Example