updated the view to group stats in a div with labels