updates the solution text