Updated status code in API responses