update pg to latest changes