update badge example for 2.0