updated the Beacon system with iBeacon API