update pointer resize