Update Attachment.js