udpate structure