Update border keyboard and menu item