Modify data structure