Changed 'event' controller to 'events' and added editting functionality