redoing changes from index