Update after error analysis