That will work but....
If all you did was change the speedo head, and you are 20 mph off, then either the new head is out of adjustment OR the old head was out of adjustment and someone replaced the gear to compensate.
So by checking miles you will know which it is.
Miles correct.... speedo...