updating bagel ref; converting to new mapped opt-in system