update header type