update core/service/xservice.php