updated app for heroku