A properly executed codicil will have the effect of modifying a will to make the changes stated in a codicil. What is hard to determine from your question is whether the codicil was appropriately executed. A codicil will require two witnesses; there is no mention of any witnesses in your description.
If you wish, feel free to contact my office to discuss.
Randall D. Fisher