edit srtucture