update the menubar