updateHeader once on load