Badges update automatically and link to the data pack page on MineUniverse.
Use trigger putItemOnHead to put an item you're holding onto your head. Doesn't require access to cheats. If you already have something on your head, the functions stops to prevent you from accidentally deleting your armour.
Couldn't be simpler.