modify the index.