setting the beacon id back in the trigger record