Updates tracking code