if you edit your template or CSS before in a skin. When you update that skin you can move those changes over ? are you talking you have the changes already or you wanting to make them ?
you will have some trouble going to 4.0.6 with templates, you should try it all on a test forum. and see whats going to happen first. just good advise on moveing thru 5 versions.