validate product model