use PUT method to update a specified quantity