update header and title