update task attachments processing