update pgdata