updating index file to latest information