Fix function name in install and update scripts