edit hostname code