Update diagram3