modify check track_id exists query every item as once query