Updates badges.