updating badge