general updating and correcting