change deprecated  keyboard event