Update environment settings