Update controller and view