change hostname condition