change structure of correspondence data