fsmRoutine update