updated the index file