update env and apt-get config