Depends on the situation. If it makes sense to improve my code (it's still actively developed or maintained, and changing the implementation does not introduce incompability (or if it does, then it outweights the trouble of updating dependent software), etc), then I go back and change it. Otherwise, unlikely.
I cringe whenever I come across a piece of code I've written years ago, but you know the old saying 'If it ain't broken...'. It also reminds me of where I came from as a coder.