update doc string on rest api