updates app rb for heroku deployment