Update Wave.java