Update environment variables for V2 cartridges