updated menustate.