update application.rb for heroku