updating diagnostics