change db settings to use postgres on heroku