update ack env variable