change reference to use our own mongoose-attachments