added new beacon add/modify functions that coincides with new beacon_id scheme