You can still use it with your old passport but once you've gone through the gate, find an officer (there's always one behind the gates) and tell him/her that you got a new passport and would like to transfer the bar code (along with all your info) to your new passport. The process should only take a few minutes.