Update menu bar and tool bar.