Update for keystrokes and tabs.