update pointers 2