update table structs