update main menu in UI.