You'll likely need to refresh your rows after you commit changes to make sure that the key generated by ADO is correct (it should be if there are no possibilities of concurrency problems) or is generated at all (are your constraints defined somewhere in code, or reflected somehow?).
Here's a walk through[
^] on how to get your keys sync'd up and refreshed after the update.
Cheers.