Update Adaptor.java