update the view, html, router