updated output for each category and total.