Add version based optimistic concurrency checks.