Update key handler