update on error