insert term into mongodb