updated mt-pg.sql