Update API doc and custom query doc