extract keybinding functions
update