update tracking code