update text input to password