update header size