Tutorialspoint Python Dictionary Update Function