Update event.js