rebuild connection