update error thrown