update some env settings