update user null check