Updates tracker function to initialize GPS