Update restClass.php