Update GraphAdapter.java