updated the service contract