update keyboard position