Yes, that's how you do it.
Remember you are already on a developer version, so you can only update to a developer version if you want to keep everything on the phone. After installation you wipe Dalvik and Cache.
If you want to change to a stable version, you have to erase everything.