update header attributes