Updates for PgSQL