migrate should rebuild config