update pointer mode