updates minigoal and candidate extraction