added index updater in case of file changes outside of program