update keypad control