Updating pointer.