[TRIVIAL] Removed unused codes
[MINOR] Update Index automatically if a file is created/removed/changed