Upgrade pg.