Add editing events to API