Update index hw4 part2