update function name typo