update null pointer