edit diagnostics