update getdetail.java