Update mongodb package to receive connection values as parameters to the new method