Update child attachment order when renaming attachment

Also show "1" next to child attachments with embedded notes