updateSolution