rebuild config