Add support for new API calls
add PG to gemfile