Update hydroGenerator.java