update appHeader-directive