[Closes #2] Set total to zero when ending updates.