changed updateOrCreate for infinidb