committing after changing headers