Update main view to nav-controller.