update view lifecycle