update embedded b-tagging study code