Using optimistic concurrency