Updates badge refs