Update RESTModelController.php