Keyboard class update