now events are working
update