input field updates content