Update turingapi.py