Add optimistic concurrency support for UpdateAll