swap badge type