renamed put to editQuantity and re-worked method to be specific to that action