rebuild the model of product and product_part and plan