Update RestService.php