update solution structure