new function catalog_product_update and cleanups