Update document root and print it in debug