fix error/failure status updates