update index part 2