addbeacon method update