Update location-beacon.c