updated key codes