Add class2 and update index