updated Service dependency injection