updates the problem paramters for every problem