How did the seismograph improve ancient China?

People in China new were there was an earthquake and it has warned China about the most devastating earthquakes.