Update RouterFactory.php