update event schema