updating service layer of Diagnostic