updated keybinding handler