update-repos script