change the index file