update attachments
rm files not needed