edit diagmostics config