Update CustomEvent.as