Update to fix the bad gateway message