Update tracking code