The 9 speed cassette will not work on the 7 speed freehub. You can buy a 9 speed freehub to replace the 7 speed for about $30. However, unless you have a really special frame or access to really cheap parts, you're probably better off saving for a newer bike.