Update msm.c