Save freereg file on header update