Mistake when update api.py