Upgrade tracking code.