update event.coffee