refactor target - update-hosts-file