Update the Root and Key