project_update.py: bugfixes