Added insert and update helper to Postgres client.