update repo mirror script