Fix code example to match 1.0.0 event name