commit viewcontroller