update basic data structure