update doc string on event api