Fixes for dbInsert / dbUpdate queries
Merge pull request #222 from laf/issue-laf-1

Fixes for dbInsert / dbUpdate queries