update badge to svg