Update service.php

first working version