udate index file