update menu and sidebar