modify URL of document