changed pg gem