Update the snippet for the mini-badge.