Update build
Improve delegateEvents that can accepts event object