updating root path