model and editor update