fixing updateOrCreate method
Merge pull request #18 from mshick/upsert

fixing updateOrCreate method