update host and name