Update root_check

Stupid copy-pasta.