Update the name of a function