add validation to product table