version 0 of optimistic upsert simulation