update the total after calculating taxes