Added an event for item changes