update elecorr config