modify modelmanager