Fixes #740 Update Attachment Makes Orphaned Attachment

Fixes #740