cctools.py: add first update code