update to display errors