fixed total in update quantity