update status of document mask task