Update doc for mongodb and manual query