updated applications.rb