removes document from the list
updates the url sharing metadata