update files to use new hn.replaceAt