updating generic classes and ControllerAdvice