update doc string in functions