updated index and show.html.erb