modifies postgresql and heroku settings