add license key in the event.