add key events table