Update createDictionary