update add pointer