Resync of documents