update mime of thumbnail