text input and demo page update