Correct UPDATE statements to work with PostgreSQL.
Merge pull request #30 from OdyX/MDL_22_fixed_UPDATE

Correct UPDATE statements to work with PostgreSQL.