edit index files