His error is coming from inserting a new row vs updating an existing row. Need to refill the datatable after the update and he will be fine.