validation in product model