update the MenuBar