add mongodb related code