updating menu and sidebars