updates prod and wsgi code for heroku