Update TableFunctions.py