Modify the index