Update attachment data on attachment delete.