Update RestfulHelper.php