Update Error handling.