Updating mongo url.