Update the dictionary