update document root settings