updates badge