update all documents