update header size to make it smaller