update badge