Update environment for live and sandbox