statechart updated