update routes.rb
update controllers.