Update pay.java