trigger when update input field