One bad thing about upgrades/updates is that it wipes out code modifications.

It appears you made quite a few?