Hi,
Please check the advanced sample, the EditTopic.aspx will tell you how to edit existing attachments.
It's easy to do that when you understand how to implement the IAttachmentProvider
(Or you can just modify the sample code to match your application)
Regards,
Terry