add config to pg