cart validation updated