add sync for editor