update to web.rb