update the menu bar