updating tracking code