update all structure