changed gem to pg