update badge style.