update service class