Update the solution