changes header type