"Old dogs can't learn new tricks" is a myth. One of my rescues was 7 when I took him in, a nightmare for the first week, within a couple of weeks he could sit, lay down, high five, do his business outside and behave indoors. It's just about training (positive-enforced in my case), nothing magic...