update mime type of download