Update event.rb