Sends data to server and updates correct beacons