add mongodb operation and some tip