Split into two separate pipelines. Update typically uses the “optimistic locking” pattern.
previous
Insert Pattern
next
Delete Pattern