update header sizes