update diagnostic