In step 3 do : make changes to product - add result of step 2 create a new vendor
step 4 : make changes to vendor - add result of step 1 create a new product.
And under both product and vendor data types you need to have them added to their counterpart tables.