update to pg