Update example to use all possible events.