Added SNAP object to statemachine and update SNAP object from
Statemachine.