updates to problem and data.