updated error states