Update REST.php