Update dataStruct