Update thum_rm.py