update character; keypress;