new PK lib working

converted beaconDataUpdate to didRangeBeaconsInRegion