updated NMT state machine