Update the update quantity method