Update msm_thermal.c