complete addDataAttachment