I've never personally done this but have looked at a fair amount of videos when I was contemplating doing a gear change myself. Here's a link to a video on Youtube that describes what you're trying to do pretty nicely. Jump forward to around 10:15 to where he starts talking about getting the spyder gears back in and how to align them.
Good luck!