update to auto-detect ROOT definition value