view and controller updated