Update UpdateFactory.php