Update http response code