Update ActionFactory.php