rechange the index