added index and index2 updated