state-mashines module updated