update: build the structure