udate to index file