Update event-model.js