add relationship to product and category