update nb-ent of neighboring variables