repo update script fix