update pointer to vim