Update Rest.php