updating badges