update html with new link to file download with cookie