fix doc to latest api