update price and update quantity