Rewrite adjacency lists with the new format in transport groups