update attachments loading