Updating leaf node file