Do the modification using kubectl and you will have two ways:
kubectl annotate:
kubectl annotate node xx --overwrite flannel.alpha.coreos.com/public-ip=new-valueor kubectl patch :
kubectl patch node xx -p '{"metadata":{"annotations":{"flannel.alpha.coreos.com/public-ip":"new-value"}}}'