Update ModelFactory.php