Improved Auto ROOT Update function.