update total amount format