update stockman.py