update exception http status code