Create update_indexes.c

Add a script which traverses the whole dictionary and and convert indexes and descr.