update doc for promise