Change function name in text to match code