upgrate pg gem