Update track_functions.py