Add upgrade detection and reconfigure