Modify dict