index on data directory change