Reorganise config table.