update keyMap