upload model attachments as base64