optimization of large_classify.py
update