upgrade the key event management