task for update documents