update shared-root and sidebar