Update Attachment.php