event api upgrade