update index_file