Changing speedo gears

I was wondering if when changing the speedometer gear in a 727 from a 30 to a 40
Can I just switch gears or is there something I have to do.