only update input.value on change