replace badge