update_vs.py: take 2, almost done