This issue is not reproducible. The serverGens updates after every edit is made to the underlying database. Make sure the newly updated serverGens is supplied after an edit is made to the extractChanges request.
Refer to the ArcGIS REST APIs documentation examples: https://developers.arcgis.com/rest/services-reference/enterprise/extract-changes-feature-service/