Updates response error handling