The question is vague. However, a testator can change his will as many times as he wants and only the last will made by the testator will have any relevance.
If your nephew forms part of the HUF, then you could devolve your share in the investments of the HUF unto and in favour of your nephew by way of a testamentary disposition i.e. Will.