Working on edit events.