update  service class