update mime method