updates for webcomponent logic