update keyboard control class