edit stock validation in Product model