Update the document for location