when updating basket fails due to stock violation then reset the quantity back to the previous amount