Badges update automatically and link to the data pack page on MineUniverse.
When consuming the item it will have different phases, and it will not be eaten all at once, but you can leave half-eaten food in the inventory or in the chests