inventory obj created on new or edit product

Whenever a new product is created or a product’s quantity is updated,
an inventory object is now created and saved to DB