Update RequestFactory.php