update badges to svg and fix badges