class diag upgrade