update structure.