How to update product details while making a purchase invoice on web?

Please to go Settings >> Preferences >> Purchases >> Update product details >> select desired input (selected fields will be updated in the product details while creating a purchase and stock in on confirmation) >> Save and update