In a document library in which minor version is enabled, UpdateOverwriteVersion() creates a minor version.
The threads -
explains the similar problem and proposes the solution as turn-off the minor versioning, update the item and turn-on the minor versioning.
But, I cannot temporarily turn-off the minor versioning setting, since the same library may be in use by other users to upload/change their documents and the turning-off the setting might affect their operations.
Is there any-other solution?
Thanks and Regards,
You can use method SPListItem.SystemUpdate (boolean) to update the list item without creating new version, please refer to following article about this topic,
TechNet Community Support