update index for part2