It is considered polite around these parts when, if you're going make updates to your posted code, that you indicate the before and after versions of the code. This would be more illustrative and will give others the opportunity to benefit from your mistakes so that they might not have to make them later.
At the very least, you should give a brief description of the changes you've made, so that some semblance of context/continuity remains.
What can be asserted without proof can be dismissed without proof. - Christopher Hitchens, 1949-2011