update events exercise