Updated cart and purchase to not exceed stock