Update the struct