Update BeaconAdapter.java