replace depricated (and removed) live event handling