update return http code