update input when user edits element content