update
add tests to support Postgres SQL