Adds Ajax functionality to cart updation