Update index file and import dict instead of list