update of key events mapping