update on error handling.