updated viewWillAppear