added create event to editor