alter the dictionary