Edit event works