Update dictionary.