updated document and change the relative url