update service class and web config