update doc string in api