Whenever I save a product for eg a tangible product
it executes the following queries
product_save SELECT COUNT(vid) FROM ec_product WHERE vid = 45
product_save INSERT INTO ec_product (nid, vid, sku, price, ptype, hide_cart_link) VALUES('45', '45', '', '0.00', 'tangible', '0')
tangible_productapi INSERT INTO ec_product_tangible (nid, vid, stock, manage_stock, availability) VALUES ('45', '45', '0', '0', '1')
product_save SELECT COUNT(vid) FROM ec_product WHERE vid = 45
product_save UPDATE ec_product SET nid = '45', vid = '45', sku = '', price = '0.00', ptype = 'tangible', hide_cart_link = '0' WHERE vid = 45
tangible_productapi UPDATE ec_product_tangible SET stock = '0', manage_stock = '0', availability = '1' WHERE vid = '45'
The above queries are just an example displayed using devel module.
Now what I want to know is that why is it calling the update hook after inserting the new product into the database. The job should have been finished after the insert hook of tangible module is called.
isn't it?? guide me if I am wrong.