uploading sketch xbee to xbee

I am trying to think of how this would work in API mode but I think its impossible. Does anybody know otherwise?

On the receiving end, how are you going to press the reset button?

Have a look here http://www.ladyada.net/make/xbee/arduino.html Not sure if it works with version 2 xbees though