updates tosolution file