change contract controller and view