Update ModelManager.php