fix for issue #125
Merge pull request #144 from alvinhu/fix-for-issue-#125

Fix for [issue #125] Second insertion of object will invoke an update request for first inserted object