update two index files