Update and rename functions to track_functions.py