update index node and file