check return value of updateCommodityNode