gem and confog change to pg