making changes to the dictionary