update the track codes