update service definition