updating style of badges