updated application.rb file