use query directly in getSQLSetStatement().
Fix incorrect JSON returned after update. Fix #20.