Update LifecycleEventSample.