update hostnames envs