move to paperclip
updating attachments