new callback AfterAttachments