update key map for tabs
update key map for tabs