updating the settings file for heroku. There has to be a better way