updating the index files