updates to view and controller