Update RestController.php