upgraded mongodb driver version and updated api db calls