update component StateMachine
update framework, samples