update badge graph data