Added unsafe updateDocuments operation.