To update from debian lenny to squeeze (currently testing) you simply need to change your sources list to read squeeze for the distribution version.
cp /etc/apt/sources.list /etc/apt/sources.list.old
Replace stable/lenny with squeeze. Best to have squeeze as aposed to testing so you don’t upgrade to the new testing when squeeze is made stable. Then perform the following commands.
aptitude install apt dpkg aptitude