update to the index file