update document root to an existing directory