I do sort-of think it's your job to update your answers if they go out of date, but anyone can edit your answer (and you can edit other people's) so really it's a community job. When you notice something outdated, do something like this:
- Add a warning at the top that it's out of date.
- If there's another (currently correct) answer, refer to that from the warning. If not, write another answer and refer to that.
- If an incorrect answer is the accepted answer, try to notify the OP with a comment to change the accepted answer.
I've just done that to this question - let's see if it works. The reason I think this is a good approach is that it solves the basic problem of "What would be the most useful information for someone coming to the page?". If they have to read through a few outdated questions with lots of votes (and possibly accepted) before seeing a new up-to-date and correct answer with just a few votes at the bottom, that's not as good as a quick notice highlighted at the top of the old answers that links straight to the better one.