update Attachment and Component doc