update error analysis