update index n new file