Update dbi syntax which was failing using PG. issue [#17]