updated index.rb view