new #attempt operation for optimistic concurrency and conditional modification