value changed for inputs