update keyboard key position