udpate badge