update to pg gem