qnli question: Which inventors made significant improvements on the water clock up until the Middle Ages? sentence: They could be used to measure the hours even at night, but required manual upkeep to replenish the flow of water.