Update model of problem and solution