Update pg to v2.