your miles are stored in the dic. not the pcm. double check the grounds. but then again, this is a car you got not running, so it hard to see or tell what was f ed up before you got it, or if you caused something with the engine swap.
if you were to change the dic, you have the donor cars miles showing.