Updated total_sum to total on dashboard