Added edit events.