updating copy in the index file.