scripts/update-cmd.pl: run update two times