update solution structure.