fix renaming function calls on renaming function defenition
fix updating function calls on updating function definition