Optimistic lock work added