Fixed bug in "update totals"
Also run update_totals in ViewOrder