added ability update beacons
added ability update beacons
fixed as_json methods