update promise doc