Update example docs in events api.