Adjust data structure