update key map for tabs