Updated service.php