update generic service class