update from documents