Update restful.php