Update rest-server.php