update bel.function when name changes