Updating the registry