Adapted statemachine for new skye2.1 px4update version