update erb and app.rb