particlePointer check-if-not-NULL update