update keymaps of auto pair