update quantity