updating onExtError and onSizeError