update lifecycleCallback test