update basic data structure
update basic data structure