Go to Inventory Management → Configurations → Stock Items. Select the item you want to update, and in the pop-up window, change the purchase cost, selling price, or both and click Save.