Updates the index test.