add validations to product model