update: message vector change to struct MessageStruct