I had an e channel bar code on my recently expired passport, and asked to be re-registered using my new passport at my next entry into HK.
I expected to be given a new barcode but they copied my new passport details and asked me to carefully remove the bar code from my old passport and stick it on my new one.