Changed gems and added pg