index update for file change