properly updating and saving progress bars on subgoals