updates for view/header-bar directives