Update http response codes