ensures heuristics are updated before setting the search goal state