upload attachment models, still need to implement nested attachments