update releasetools.py