update example
tidy events