updated  'updateRow' with ability to select for optimistic versioning