Update ProblemsController to accommodate the change in Task model.