Updating mongo config to use url, in stead of parameters.