updating generic service class