added index persistence