update viewController