updating structure TH