deleted and added index