saving changes to index.html.erb