changing hometown to input field