Update RESTController.php