Use update action in /etc/hosts (instead of add)

(ie. so we don't have duplicate lines)