Fix quantity total update