update in inventory module