update diag level