Update DispatcherFactory.php