updates to routes.rb & models