Updating dictionary keys.