Update environment variables for v2 cartridge